package ogl.tests;

import static org.junit.Assert.*;
import ogl.FootSoldier;

import org.junit.Test;

public class FootSoldierTest {

	@Test
	public void testMove() {
		FootSoldier f = new FootSoldier(10, 10);
		f.move(22.3f, 22.5f);
		assertTrue(f.getX() == 22.3f);
		assertTrue(f.getY() == 22.5f);

	}

	@Test
	public void testFootSoldier() {
		FootSoldier f = new FootSoldier(20, 20);
		assertNotNull(f);
	}

}
